import xlrd

def getExcleData(fileName,sheetName):
    myexcle = xlrd.open_workbook(fileName)
    mysheet = myexcle.sheet_by_name(sheetName)
    rows = mysheet.nrows
    cols = mysheet.ncols
    list = []
    for i in range(rows):
        tmp = []
        for j in range(cols):
            tmp.append(mysheet.cell_value(i,j))
        list.append(tmp)
    return list